# Makefile for the image code
MF=	Makefile
#
# C compiler and options
#
CC=mpicc -fast  
#change exe here
EXE=	cio 
FFLAGS=	-g 
SRC=	cio.c \
	image.c \
	arralloc.c
INC= \
	arralloc.h
LIB=    -lm

#
# Object files
#
OBJ=	$(SRC:.c=.c)

#
# Compile
#
image:	$(OBJ)
	$(CC) -o $@ $(OBJ) $(LIB)

.c.o:
	$(CC) -c $<
$(OBJ):	$(INC)

#
# Clean out object files and the executable.
#
clean:
	rm *.o image

